ballinlikewat/SeniorProjectGrouple — pull request #1 by ballinlikewat (2014-10-21 00:45:04+00:00)
Title: Register error messages, adding a 'kill' switch, calling the kill switch

I added the following messages for registering a new account. It pulls the messages using the register PHP.

Error message 1 - None (Success)
Error messsage 2 - Already an account
Error messsage 3 - Not an email address
Error messsage 4 - Password too short (4) or too long(24)
Error messsage 5 - First and/or Last name are blank
----------------------------------------------------------------------------------------------------------------------------------------------------
Fixed hitting back on the login screen. Fixed the logout button.

I put a broadcastrceiver in every activity. The logout button and the back button on the Login screen broadcast a 'CLOSE_ALL' message to all off the activities forcing them to finish().