devise js for user signin and signup
add authentication check on frontend