diff --git a/ulogin.php b/ulogin.php
new file mode 100644
index 0000000000000000000000000000000000000000..d50ed53070cc114d1f53bc0c4f43d70a5a12f381
--- /dev/null
+++ b/ulogin.php
@@ -0,0 +1,54 @@
+<?php
+session_start();
+include "database.php";
+?>
+<!DOTYPE HTML>
+<html>
+<head>
+<title>BOOK MANAGEMENT SYSTEM</title>
+<link rel="stylesheet" type ="text/css" href="css/style.css">
+</head>
+<body>
+<div id="container">
+<div id="header">
+<h1>BOOK MANAGEMENT SYSTEM</h1>
+</div>
+<div id="wrapper">
+    <h3 id="heading">User Login Here</h3>
+<div id="center"> 
+    <?php
+       if(isset($_POST["submit"]))
+       {
+            $sql="SELECT * FROM student where NAME='{$_POST["aname"]}' and PASS='{$_POST["apass"]}'";
+            $res=$mysqli->query($sql);
+            if($res->num_rows>0)
+            {
+                $row=$res->fetch_assoc();
+                $_SESSION["ID"]=$row["ID"];
+                $_SESSION["NAME"]=$row["NAME"];
+                header("location:uhome.php");
+            }
+            else{
+                echo "<p class='error'>Invalid user details</p>";
+            }
+        }
+    ?>
+<form action="ulogin.php" method="post">
+<label>Name</label>
+<input type="text" name="aname" required>
+<label>Password</label>
+<input type="password" name="apass" required>
+<button type ="submit" name="submit">Login Now</button>
+</form></div>
+</div>
+<div id="navi">
+    <?php
+    include "sidebar.php"
+    ?>
+</div>
+<div id="footer">
+<p>Copyright &copy; book management 2020</p>
+<div>
+</div>
+</body>
+</html>
\ No newline at end of file