Fixed apply
Added accept buttons (template)
Redirect home properly on login/logout
Merge with origin/master