Changes in the Login Codes and Added Restriction

Added Restrictions in the Form Menu and Changes in the Login Codes.
Coding for further details