fixed coffee script for the login