added two different login types Resident/Official
added a outside page for login/registration for each user type
comments/search function fixed
commiting before merge