Login rule created

The Login rule has been refactored
views.py -> code refactored.
qubal_rules.py -> New file to declare the function rules.
index.html -> Notification text has been changed to fit the login rule.