Added method to get user's main account from NSUserDefaults
Closes #2. Closes #3. Validate login form.