changed ui theme to overcast and implemented loggedin check