It looks like you're missing some indentation here; the ```link_to``` won't be in the ```if``` block if you don't indent. Check the output html (go to the signin page) to see.