Code improvements + using contacts list

-Using contacts list from address book to cross check with registered
users
-Refactored and improved coding structure