Completed basic authentication without error checks (oauth missing) and fixed UI bugs.