diff --git a/_templates/head.php b/_templates/head.php
index 8144d346148affbe3fc09d12d0855cedf8fa8b17..28b2fbca96a8a419e7a7faf219652c282dfeee40 100644
--- a/_templates/head.php
+++ b/_templates/head.php
@@ -16,10 +16,11 @@
 
     <link href="/photogram-project-php/assets/dist/css/bootstrap.min.css" rel="stylesheet">
 
-    <!-- Style for login forms -->
-    <link href="/photogram-project-php/assets/dist/css/login.css" rel="stylesheet">
-    
-    <!-- Style for signup forms -->
-    <link href="/photogram-project-php/assets/dist/css/signup.css" rel="stylesheet">
+    <!-- CSS for login and signup page -->
+
+    <!-- Checks if the file is exists -->
+    <?if(file_exists($_SERVER['DOCUMENT_ROOT'].'/photogram-project-php/assets/dist/css/'.basename($_SERVER['PHP_SELF'],".php") . '.css')){?>
+        <link href="/photogram-project-php/assets/dist/css/<?=basename($_SERVER['PHP_SELF'], ".php")?>.css" rel="stylesheet">
+    <?}?> 
     
 </head>
\ No newline at end of file
diff --git a/_templates/signup-content.php b/_templates/signup-content.php
index b7506cd3cc2458ace669d11c7bc253d4842ca445..1c656482bb758907ce0a0649fae39139002a672c 100644
--- a/_templates/signup-content.php
+++ b/_templates/signup-content.php
@@ -17,8 +17,8 @@
 	  <label for="floatingPassword">Password</label>
 	</div>
 	<div class="form-floating">
-	  <input name="phone" type="text" class="form-control" id="floatingInputphone" placeholder="Phone number">
-	  <label for="floatingInputphone">Phone number</label>
+	  <input name="phone" type="text" class="form-control" id="floatingInput" placeholder="Phone number">
+	  <label for="floatingInput">Phone number</label>
 	</div>
 	
 
diff --git a/assets/dist/css/signup.css b/assets/dist/css/signup.css
index 3ec283d34d53bc8d8a0433e0ae4000f4f039634f..f6cb67dda0aee46ead770f0e4905b67fe813539e 100644
--- a/assets/dist/css/signup.css
+++ b/assets/dist/css/signup.css
@@ -32,7 +32,7 @@ body {
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
   }
-  .form-signup input[id="floatingInputphone"] {
+  .form-signup input[name="phone"] {
     margin-bottom: 10px;
     border-top-left-radius: 0;
     border-top-right-radius: 0;