refresh done, some bugs fixed. want to work on logging in next.