cleaned up routing and fixed sign_in path bug