Added preferences.
Added exceptions: "Server not found" and "No internet connection".
Added Toast upon successful login.