Finished adding devise functionality.